package com.techstar.common.pojo;

/**
 * 
 * @author EinIce
 * @description 用于校验各个接口的数据更新时间
 * @date 2021年8月19日
 */
public enum InterfaceType {
    TEST("test", "测试接口","RESTFULL", "备注", 10),
    //路网城市道路
    DISTRICT_CONGEST_JUNCTION("district_congest_junction", "pord-1-行政区拥堵路口","RESTFULL", "", 10),
    DISTRICT_CONGEST_RANK("district_congest_rank", "pord-1-行政辖区拥堵排名","RESTFULL", "", 10),
    DISTRICT_CONGEST_SECTION("district_congest_section", "pord-1-行政区拥堵路段","RESTFULL", "", 10),
    DISTRICT_CONGEST_TREND("district_congest_trend", "pord-1-行政区拥堵趋势","RESTFULL", "", 10),
    DISTRICT_FLOW_RANK("district_flow_rank", "pord-2-行政辖区流量排名","RESTFULL", "", 10),
    DISTRICT_FLOW_TREND("district_flow_trend", "pord-2-行政辖区流量趋势","RESTFULL", "", 10),
    DISTRICT_ONLINE_VEHICLE("district_online_vehicle", "pord-2-行政区在途车辆","RESTFULL", "", 10),
    DISTRICT_ROAD_SPEED("district_road_speed", "pord-3-行政区道路速度","RESTFULL", "", 10),
    DISTRICT_SECTION_FLOW("district_section_flow", "pord-2-行政区重点路段流量","RESTFULL", "", 10),
    SECTION_FLOW_TREND("section_flow_trend", "pord-2-路段流量趋势","RESTFULL", "", 10),
    //路网高速公路
    FREEWAY_CONGEST_RANK("freeway_congest_rank", "pord-4-高速拥堵流量排名","RESTFULL", "", 10),
    FREEWAY_CONGEST_SECTION("freeway_congest_section", "pord-4-高速拥堵路段","RESTFULL", "", 10),
    FREEWAY_CONGEST_STATION("freeway_congest_station", "pord-4-高速拥堵收费站","RESTFULL", "", 10),
    FREEWAY_CONGEST_TREND("freeway_congest_trend", "pord-4-高速拥堵趋势","RESTFULL", "", 10),
    FREEWAY_FLOW_TREND("freeway_flow_trend", "pord-5-高速流量趋势","RESTFULL", "", 10),
    STATION_FLOW_RANK("station_flow_rank", "pord-5-收费站流量排名","RESTFULL", "", 10),
    STATION_FLOW_TREND("station_flow_trend", "pord-5-收费站流量趋势","RESTFULL", "", 10),
    //GIS
    BORDER_LINE("border_line", "gis-1-境界线","RESTFULL", "", 10),
    CONSTRUCT_SECTION("construct_section", "gis-1-施工路段","RESTFULL", "", 10),
    FLOW_SITE_INFO("flow_site_info", "gis-1-流量点","RESTFULL", "", 10),
    MAIN_ROAD("main_road", "gis-1-主干路","RESTFULL", "", 10),
    SECOND_GATE("second_gate", "gis-1-二线关","RESTFULL", "", 10),
    TRAFFIC_ACCIDENT("traffic_accident", "gis-1-实时交通事故","RESTFULL", "", 10),
    TRAFFIC_EVENT("traffic_event", "gis-1-实时交运通事件","RESTFULL", "", 10),
    
    //公共交通-公交
    TODAY_HOUR_CHARGE_TREND("today_hour_charge_trend", "pbtp-2-当日小时充电趋势","RESTFULL", "", 10),
    TODAY_DISTRICT_OD("today_district_od", "pbtp-2-当日行政区日均OD分布","RESTFULL", "", 10),
    TODAY_HOUR_TRAFFIC_TREND("today_hour_traffic_trend", "pbtp-2-当日小时客流量趋势","RESTFULL", "", 10),
    NET_STATISTICS_INFO("net_statistics_info", "pbtp-2-线网统计信息","RESTFULL", "", 10),
    REALTIME_CHARGE("realtime_charge", "pbtp-2-实时充电","RESTFULL", "", 10),
    REALTIME_DISPATCH("realtime_dispatch", "pbtp-2-实时班次","RESTFULL", "", 10),
    REALTIME_TRAFFIC("realtime_traffic", "pbtp-2-实时客流量","RESTFULL", "", 10),
    WORKDAY_HOUR_DISPATCH_TREND("workday_hour_dispatch_trend", "pbtp-2-特征日日均小时班次趋势","RESTFULL", "", 10),
    WORKDAY_HOUR_TRAFFIC_TREND("workday_hour_traffic_trend", "pbtp-2-特征日日均小时客流量趋势","RESTFULL", "", 10),
    MONTH_DAY_TRAFFIC_TREND("month_day_traffic_trend", "pbtp-2-当月日客流量趋势","RESTFULL", "", 10),
    TODAY_TRAFFIC_RANK("today_traffic_rank", "pbtp-2-当日客流量排名","RESTFULL", "", 10),
    TODAY_TIME_EXECUTION_RANK("today_time_execution_rank", "pbtp-2-当日正点执行率排名","RESTFULL", "", 10),
    TODAY_HOUR_DISPATCH_TREND("today_hour_dispatch_trend", "pbtp-2-当日小时班次趋势","RESTFULL", "", 10),
    DAILY_BUSINESS("daily_business", "pbtp-2-日均营收","RESTFULL", "", 10),
    YEARLY_DAILY_BUSINESS_TREND("yearly_daily_business_trend", "pbtp-2-年度日均营收趋势","RESTFULL", "", 10),
    DAILY_BUSINESS_RANK("daily_business_rank", "pbtp-2-当年日均营收排名","RESTFULL", "", 10),
    DAILY_HOUR_CHARGE_TREND("daily_hour_charge_trend", "pbtp-2-当年日均小时充电趋势","RESTFULL", "", 10),
    //公共交通-网约出租
    ONLINECAR_TODAY_AREA_VEHICLE_RANK("onlinecar_today_area_vehicle_rank", "pbtp-5-区域实时运力排名","RESTFULL", "", 10),
    ONLINECAR_DAILY_BUSINESS("onlinecar_daily_business", "pbtp-5-日均运营","RESTFULL", "", 10),
    ONLINECAR_TODAY_LOAD_STATUS_TREND("onlinecar_today_load_status_trend", "pbtp-5-当日载客状态趋势","RESTFULL", "", 10),
    ONLINECAR_MONTH_ENTERPRISE_BUSINESS_RANK("onlinecar_month_enterprise_business_rank", "pbtp-5-当月企业营运排名","RESTFULL", "", 10),
    ONLINECAR_MONTH_ENTERPRISE_VIOLATION_RANK("onlinecar_month_enterprise_violation_rank", "pbtp-5-当月企业违规排名","RESTFULL", "", 10),
    ONLINECAR_MONTH_BUSINESS_PERCAR_TREND("onlinecar_month_business_percar_trend", "pbtp-5-当月日单车营运趋势","RESTFULL", "", 10),
    ONLINECAR_REALTIME_VEHICLE("onlinecar_realtime_vehicle", "pbtp-5-实时车辆","RESTFULL", "", 10),
    ONLINECAR_REGISTRATION_INFO("onlinecar_registration_info", "pbtp-5-网约注册信息","RESTFULL", "", 10),
    ONLINECAR_MOUTH_VIOLATION_TYPE("onlinecar_mouth_violation_type", "pbtp-5-当月违规类型分布","RESTFULL", "", 10),
	//公共交通-总览
    OVERVIEW_REALTIME_TRAFFIC("overview_realtime_traffic", "pbtp-1-实时客运量","RESTFULL", "", 10),
    OVERVIEW_REALTIME_TRANSPORTATION("overview_realtime_transportation", "pbtp-1-实时运力","RESTFULL", "", 10),
    OVERVIEW_TODAY_HOUR_TRAFFIC_TREND("overview_today_hour_traffic_trend", "pbtp-1-当日小时客运量趋势","RESTFULL", "", 10),
    OVERVIEW_TRAFFIC_EVENT("overview_traffic_event", "pbtp-1-实时突发事件","RESTFULL", "", 10),
    OVERVIEW_YEARLY_TRAFFIC_TREND("overview_yearly_traffic_trend", "pbtp-1-年客流量趋势","RESTFULL", "", 10),
	//公共交通-轨道交通
    SUBWAY_TODAY_HOUR_TRAFFIC_TREND("subway_today_hour_traffic_trend", "pbtp-3-当日小时客流量趋势","RESTFULL", "", 10),
    SUBWAY_TODAY_LINE_TRAFFIC_RANK("subway_today_line_traffic_rank", "pbtp-3-线路当日客流量排名","RESTFULL", "", 10),
    SUBWAY_TODAY_STATION_TRAFFIC_RANK("subway_today_station_traffic_rank", "pbtp-3-站点当日客流量排名","RESTFULL", "", 10),
    SUBWAY_LINE_BUSINESS_RANK("subway_line_business_rank", "pbtp-3-线路运营排名","RESTFULL", "", 10),
    SUBWAY_LINE_STATION_LOAD("subway_line_station_load", "pbtp-3-日均线路站站最大断面满载率","RESTFULL", "", 10),
    SUBWAY_NET_STATISTICS_INFO("subway_net_statistics_info", "pbtp-3-线网统计信息","RESTFULL", "", 10),
    SUBWAY_REALTIME_TRAFFIC("subway_realtime_traffic", "pbtp-3-实时客流量","RESTFULL", "", 10),
    SUBWAY_STATION_LOAD_RANK("subway_station_load_rank", "pbtp-3-日均站站最大断面满载率排名","RESTFULL", "", 10),
    //公共交通-巡游出租
    TAXI_TODAY_AREA_VEHICLE_RANK("taxi_today_area_vehicle_rank", "pbtp-4-区域实时运力排名","RESTFULL", "", 10),
    TAXI_DAILY_BUSINESS("taxi_daily_business", "pbtp-4-日均运营","RESTFULL", "", 10),
    TAXI_TODAY_DISTRICT_OD("taxi_today_district_od", "pbtp-4-当日行政区OD分布","RESTFULL", "", 10),
    TAXI_TODAY_LOAD_STATUS_TREND("taxi_today_load_status_trend", "pbtp-4-当日载客状态趋势","RESTFULL", "", 10),
    TAXI_MONTH_ENTERPRISE_VIOLATION_RANK("taxi_month_enterprise_violation_rank", "pbtp-4-当月企业违规排名","RESTFULL", "", 10),
    TAXI_MONTH_BUSINESS_PERCAR_TREND("taxi_month_business_percar_trend", "pbtp-4-当月日单车营运趋势","RESTFULL", "", 10),
    TAXI_REALTIME_VEHICLE("taxi_realtime_vehicle", "pbtp-4-实时车辆","RESTFULL", "", 10),
    TAXI_MONTH_VIOLATION_TYPE("taxi_month_violation_type", "pbtp-4-当月违规类型分布","RESTFULL", "", 10),
    
    //3-1全市对外监测
    CITY_EXTERNAL_AREA_OD_RANK("city_external_area_od_rank", "hinge-1-各区域旅客OD排名","RESTFULL", "", 10),
    CITY_EXTERNAL_CONTAINER_THROUGHPUT_TREND("city_external_container_throughput_trend", "hinge-1-全市全部集装箱吞吐量变化趋势","RESTFULL", "", 10),
    CITY_EXTERNAL_CONTAINER_VOLUME("city_external_container_volume", "hinge-1-集装箱吞吐量及周转量","RESTFULL", "", 10),
    CITY_EXTERNAL_FREIGHT_THROUGHPUT_TREND("city_external_freight_throughput_trend", "hinge-1-全市枢纽货物吞吐量变化趋势","RESTFULL", "", 10),
    CITY_EXTERNAL_FREIGHT_VOLUME("city_external_freight_volume", "hinge-1-货物吞吐量及周转量","RESTFULL", "", 10),
    CITY_EXTERNAL_PASSENGER_VOLUME("city_external_passenger_volume", "hinge-1-旅客运输量及周转量","RESTFULL", "", 10),
    CITY_EXTERNAL_PASSENGER_VOLUME_TREND("city_external_passenger_volume_trend", "hinge-1-全市枢纽旅客运输量变化趋势","RESTFULL", "", 10),
    CITY_EXTERNAL_PROVINCE_OD_RANK("city_external_province_od_rank", "hinge-1-各省区旅客OD排名","RESTFULL", "", 10),
    CITY_EXTERNAL_REALTIME_FREIGHT_VOLUME("city_external_realtime_freight_volume", "hinge-1-全市枢纽当日实时货运量","RESTFULL", "", 10),
    CITY_EXTERNAL_REALTIME_PASSENGER_VOLUME("city_external_realtime_passenger_volume", "hinge-1-全市枢纽当日累计客运量","RESTFULL", "", 10),
    
    //3-2枢纽对外监测
    HINGE_EXTERNAL_CONTAINER_THROUGHPUT_TREND("hinge_external_container_throughput_trend", "hinge-2-各类型枢纽集装箱吞吐量变化趋势","RESTFULL", "", 10),
    HINGE_EXTERNAL_CONTAINER_VOLUME("hinge_external_container_volume", "hinge-2-各类型枢纽集装箱吞吐量及周转量","RESTFULL", "", 10),
    HINGE_EXTERNAL_FREIGHT_THROUGHPUT_TREND("hinge_external_freight_throughput_trend", "hinge-2-各类型枢纽货物吞吐量变化趋势","RESTFULL", "", 10),
    HINGE_EXTERNAL_FREIGHT_VOLUME("hinge_external_freight_volume", "hinge-2-各类型货物吞吐量及周转量","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_CONTAINER_THROUGHPUT_TREND("hinge_external_individual_container_throughput_trend", "hinge-2-单个枢纽集装箱吞吐量变化趋势","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_CONTAINER_VOLUME("hinge_external_individual_container_volume", "hinge-2-单个枢纽集装箱吞吐量及周转量","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_EVENT("hinge_external_individual_event", "hinge-2-单个枢纽实时突发事件","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_FREIGHT_THROUGHPUT_TREND("hinge_external_individual_freight_throughput_trend", "hinge-2-单个枢纽货物吞吐量变化趋势","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_FREIGHT_VOLUME("hinge_external_individual_freight_volume", "hinge-2-单个枢纽货物吞吐量及周转量","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_PASSENGER_VOLUME("hinge_external_individual_passenger_volume", "hinge-2-单个枢纽旅客运输量及周转量","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_PASSENGER_VOLUME_TREND("hinge_external_individual_passenger_volume_trend", "hinge-2-单个枢纽旅客运输量变化趋势","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_PREDICT_PASSENGER_VOLUME("hinge_external_individual_predict_passenger_volume", "hinge-2-单个枢纽客流量预测","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_PROVINCE_OD_RANK("hinge_external_individual_province_od_rank", "hinge-2-单个枢纽各省区旅客OD排名","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_REALTIME_CAPACITY("hinge_external_individual_realtime_capacity", "hinge-2-单个枢纽实时运力","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_REALTIME_DISPATCH("hinge_external_individual_realtime_dispatch", "hinge-2-单个枢纽实时班次","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_REALTIME_FREIGHT_VOLUME("hinge_external_individual_realtime_freight_volume", "hinge-2-单个枢纽实时货运量","RESTFULL", "", 10),
    HINGE_EXTERNAL_INDIVIDUAL_REALTIME_PASSENGER_VOLUME("hinge_external_individual_realtime_passenger_volume", "hinge-2-单个枢纽实时客运量","RESTFULL", "", 10),
    HINGE_EXTERNAL_PASSENGER_COUNT("hinge_external_passenger_count", "hinge-2-各类型枢纽当年旅客出发到达量","RESTFULL", "", 10),
    HINGE_EXTERNAL_PASSENGER_VOLUME("hinge_external_passenger_volume", "hinge-2-各类型枢纽旅客运输量及周转量","RESTFULL", "", 10),
    HINGE_EXTERNAL_PASSENGER_VOLUME_TREND("hinge_external_passenger_volume_trend", "hinge-2-各类型枢纽旅客运输量变化趋势","RESTFULL", "", 10),
    HINGE_EXTERNAL_PROVINCE_OD_RANK("hinge_external_province_od_rank", "hinge-2-各类型枢纽各省区旅客OD排名","RESTFULL", "", 10),
    HINGE_EXTERNAL_REALTIME_DISPATCH("hinge_external_realtime_dispatch", "hinge-2-各类型枢纽实时班次","RESTFULL", "", 10),
    HINGE_EXTERNAL_REALTIME_FREIGHT_VOLUME("hinge_external_realtime_freight_volume", "hinge-2-各类型枢纽实时货运量","RESTFULL", "", 10),
    HINGE_EXTERNAL_REALTIME_PASSENGER_VOLUME("hinge_external_realtime_passenger_volume", "hinge-2-各类型枢纽实时客运量","RESTFULL", "", 10),
    
    //3-3枢纽态势监测

    HINGE_SITUATION_CONTAINER_RANK_VOLUME("hinge_situation_container_rank_volume", "hinge-3-各枢纽集装箱吞吐量TOP排名","RESTFULL", "", 10),
    HINGE_SITUATION_FREIGHT_RANK_VOLUME("hinge_situation_freight_rank_volume", "hinge-3-各枢纽货物吞吐量TOP排名","RESTFULL", "", 10),
    HINGE_SITUATION_PASSENGER_RANK_VOLUME("hinge_situation_passenger_rank_volume", "hinge-3-各枢纽旅客运输量TOP排名","RESTFULL", "", 10),
    HINGE_SITUATION_CONTAINER_VOLUME("hinge_situation_container_volume", "hinge-3-各枢纽集装箱吞吐量TOP排名","RESTFULL", "", 10),
    HINGE_SITUATION_FREIGHT_VOLUME("hinge_situation_freight_volume", "hinge-3-各枢纽货物吞吐量TOP排名","RESTFULL", "", 10),
    HINGE_SITUATION_PASSENGER_VOLUME("hinge_situation_passenger_volume", "hinge-3-各枢纽旅客运输量TOP排名","RESTFULL", "", 10),
    HINGE_SITUATION_EVENT("hinge_situation_event", "hinge-3-各枢纽实时突发事件","RESTFULL", "", 10),
    HINGE_SITUATION_REALTIME_CAPACITY("hinge_situation_realtime_capacity", "hinge-3-各枢纽实时运力","RESTFULL", "", 10),
    HINGE_SITUATION_REALTIME_DISPATCH("hinge_situation_realtime_dispatch", "hinge-3-各枢纽实时班次","RESTFULL", "", 10),
    HINGE_SITUATION_REALTIME_PASSENGER_VOLUME("hinge_situation_realtime_passenger_volume", "hinge-3-各枢纽实时客运量","RESTFULL", "", 10),
//    AA("aa", "aaa","RESTFULL", "", 10),
//    新增gis
    GIS_PUBLIC_TRANSPORT_TAXI_REALTIME_VEHICLES("gis_public_transport_taxi_realtime_vehicles", "gis-1.1.1 出租车实时车辆位置信息", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_TAXI_REALTIME_HEATMAP("gis_public_transport_taxi_realtime_heatmap", "gis-1.1.3 出租车热力图信息", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_TAXI_REALTIME_DISTRICT_OD("gis_public_transport_taxi_realtime_district_od", "gis-1.1.4 出租车当前时间某行政区OD分布", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_CAR_REALTIME_VEHICLES("gis_public_transport_car_realtime_vehicles", "gis-1.1.5 网约车实时车辆位置信息", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_BUS_REALTIME_BUS_GPS("gis_public_transport_bus_realtime_bus_gps", "gis-1.1.7 公交车实时车辆位置信息", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_BUS_REALTIME_HEATMAP("gis_public_transport_bus_realtime_heatmap", "gis-1.1.8 公交车热力图信息", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_BUS_TODAY_DISTRICT_OD_5MIN("gis_public_transport_bus_toady_district_od_5min", "gis-1.1.9 公交车当前时间某行政区OD分布", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_ROAD_MONITOR_DEVICES("gis_public_transport_road_monitor_devices", "gis-1.1.10 检测点位置信息", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_ROAD_TRAFFIC_MONITOR_VIDEOS("gis_public_transport_road_traffic_monitor_videos", "gis-1.1.11 摄像头点位置信息", "RESTFUL", "", 10),
    GIS_PUBLIC_TRANSPORT_ROAD_TRAFFIC_EVENT("gis_public_transport_road_traffic_event", "gis-1.1.12 道路事件信息", "RESTFUL", "", 10),
    ;
	
    private final String id;
    private final String iname;
    private String className;
    private final String type;
    private final String description;
    public String apiUrl;
    private final int frequency;//频率(分钟)

    InterfaceType(String id, String name, String type, String description,int frequency) {
        this.id = id;
        this.iname = name;
        this.type = type;
        this.description = description;
        this.frequency = frequency;
    }

    public String id() {
        return id;
    }

    public String iname(){
        return iname;
    }

    public String type(){
        return type;
    }

    public String description() {
        return this.description;
    }

    public int frequency() {
        return this.frequency;
    }
    
    //————————————————————
	public String getApiUrl() {
		return apiUrl;
	}

	public void setApiUrl(String apiUrl) {
		this.apiUrl = apiUrl;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String portName) {
		this.className = portName;
	}

    
}
